From: Jakub Steiner Date: Wed, 4 Feb 2015 18:06:08 +0000 (+0100) Subject: theme: final touches on calendar widget X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1773 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=da49b8110e394e90361add97296986a8ccc6b9c4;p=gnome-shell.git theme: final touches on calendar widget - rectangular weekends still clashed with the round selection/today --- diff --git a/data/theme/_common.scss b/data/theme/_common.scss index 8fb011712..a3383739e 100644 --- a/data/theme/_common.scss +++ b/data/theme/_common.scss @@ -736,6 +736,7 @@ StScrollBar { width: 2.4em; height: 2.4em; padding: 0.1em; margin: 2px; + border-radius: 1.4em; &:hover,&:focus { background-color: lighten($bg_color,5%); } &:active { color: lighten($fg_color,5%); @@ -754,11 +755,10 @@ StScrollBar { .calendar-day-top { border-top-width: 1px; } .calendar-day-left { border-left-width: 1px; } .calendar-work-day { - border-radius: 1.4em; + } .calendar-nonwork-day { - background-color: darken($bg_color, 2%); - color: darken($fg_color,5%); + color: $insensitive_fg_color; } .calendar-today { font-weight: bold; @@ -771,8 +771,7 @@ StScrollBar { font-weight: bold; } .calendar-other-month-day { - color: transparentize($fg_color,0.7); - background-color: transparentize($bg_color,0.7); + color: transparentize($fg_color,0.85); opacity: 0.5; } diff --git a/data/theme/gnome-shell-high-contrast.css b/data/theme/gnome-shell-high-contrast.css index ecadbb750..cf1622e04 100644 --- a/data/theme/gnome-shell-high-contrast.css +++ b/data/theme/gnome-shell-high-contrast.css @@ -908,7 +908,8 @@ StScrollBar { width: 2.4em; height: 2.4em; padding: 0.1em; - margin: 2px; } + margin: 2px; + border-radius: 1.4em; } .calendar-day-base:hover, .calendar-day-base:focus { background-color: #0d0d0d; } .calendar-day-base:active { @@ -929,12 +930,8 @@ StScrollBar { .calendar-day-left { border-left-width: 1px; } -.calendar-work-day { - border-radius: 1.4em; } - .calendar-nonwork-day { - background-color: black; - color: #f2f2f2; } + color: #7f7f7f; } .calendar-today { font-weight: bold; @@ -945,8 +942,7 @@ StScrollBar { font-weight: bold; } .calendar-other-month-day { - color: rgba(255, 255, 255, 0.3); - background-color: rgba(0, 0, 0, 0.3); + color: rgba(255, 255, 255, 0.15); opacity: 0.5; } .events-table { diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index a51ded0f0..13af2f49e 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -908,7 +908,8 @@ StScrollBar { width: 2.4em; height: 2.4em; padding: 0.1em; - margin: 2px; } + margin: 2px; + border-radius: 1.4em; } .calendar-day-base:hover, .calendar-day-base:focus { background-color: #454c4c; } .calendar-day-base:active { @@ -929,12 +930,8 @@ StScrollBar { .calendar-day-left { border-left-width: 1px; } -.calendar-work-day { - border-radius: 1.4em; } - .calendar-nonwork-day { - background-color: #343a3a; - color: #e2e2df; } + color: #939695; } .calendar-today { font-weight: bold; @@ -945,8 +942,7 @@ StScrollBar { font-weight: bold; } .calendar-other-month-day { - color: rgba(238, 238, 236, 0.3); - background-color: rgba(57, 63, 63, 0.3); + color: rgba(238, 238, 236, 0.15); opacity: 0.5; } .events-table {